/**
 * Created by Cake on 2017/6/5.
 */

$(function () {

    $('.project-pic-list li').showPicture();

    imgUpload('.add-picture input', function (src) {
        if ($('.add-picture img').attr('src') == '') {
            $('.add-picture img').show();
        } else {
            $('.add-picture img').hide();
        }
    });

});